<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>宿舍信息上传</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/layui/css/layui.css">
</head>
<body>
<blockquote class="layui-elem-quote layui-text">
    宿舍长信息添加(如果表列中无想要添加的人员，请先添加宿舍人员分布)
</blockquote>
<form class="layui-form" action="">
    <input name="dormitoryId" th:value="${dormitoryId}" class="layui-input" type="hidden"autocomplete="off">
    <div class="layui-form-item">
        <label class="layui-form-label">宿舍长：</label>
        <div class="layui-input-block" style="width: 40%;">
            <select name="dormitoryHeader" lay-verify="required" lay-filter="bedName">
                <option th:each="bed:${bedList}" th:value="${bed.bedName}" th:text="${bed.bedName}" value=""></option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="Header">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
<script src="/layui/layui.js"></script>
<script src="/js/dormitory.js"></script>
</body>
</html>